var routes = [
    {
        path: '/demo/an',
        meta: {tab: "权限"},
        component: () => import('../view/demo/an.vue')
    }, {
        path: '/demo/activiti/list',
        meta: {tab: "工作流"},
        component: () => import('../view/demo/activiti/wf-list.vue')
    }, {
        path: '/demo/activiti-task/list',
        props: true,
        meta: {tab: "工作流任务"},
        component: () => import('../view/demo/activiti/task-list.vue')
    }, {
        path: '/demo/activi-task-hi/list',
        meta: {tab: "工作流历史任务"},
        props: true,
        component: () => import('../view/demo/activiti/task-hi.vue')
    }, {
        path: '/ops/es',
        meta: {tab: "es"},
        component: () => import('../view/ops/es.vue')
    }, {
        path: "/dev/enum",
        meta: {tab: "枚举生成器"},
        component: () => import("../view/dev/sys/enum.vue")
    }, {
        path: "/dev/crud",
        meta: {tab: "CRUD生成器"},
        component: () => import("../view/dev/sys/crud.vue")
    }, {
        path: "/ops/deploy/:language",
        meta: {tab: "{language}部署"},
        props: true,
        component: () => import("../view/ops/k8s/deploy.vue")
    }, {
        path: "/ops/k8s/svc-list",
        meta: {tab: "K8s微服务"},
        component: () => import("../view/ops/k8s/k8s-deployment-list.vue")
    },
    {
        path: "/ops/k8s/yaml",
        meta: {tab: "Yaml格式化"},
        component: () => import("../view/ops/k8s/yaml.vue")
    },
    {
        path: "/dev/yapi/check",
        meta: {tab: "Yapi"},
        component: () => import("../view/dev/yapi/yapi-list.vue")
    }, {
        path: "/ops/minio/list",
        meta: {tab: "文件列表"},
        component: () => import("../view/dev/file/file-list.vue")
    }, {
        path: "/ops/mongo-tool/:action/:id",
		props: true,
        meta: {tab: "Mongo工具"},
        component: () => import("../view/ops/mongo-tool/index.vue")
    }, {
		path: "/ops/es-tool/:action/:id",
		props: true,
		meta: {tab: "Es工具"},
		component: () => import("../view/ops/es-tool/index.vue")
	}, {
        path: "/ops/es-tool",
        meta: {tab: "Es工具"},
        component: () => import("../view/ops/es-tool/index.vue")
    }, {
        path: "/sys/app-menus",
        meta: {tab: "应用菜单"},
        component: () => import("../view/sys/app-menu/menus.vue")
    },
    {
        path: '/my-info',
        meta: {tab: "个人信息"},
        component: () => import('../view/sys/my-info.vue')
    }, {
        path: '/change-pwd',
        meta: {tab: "修改密码"},
        component: () => import('../view/sys/change_pwd.vue')
    }, {
        path: '/demo/app1',
        component: resolve => import( '../view/demo/oauth/app1.vue' )
    }, {
        path: '/demo/app3',
        component: resolve => import('../view/demo/oauth/app3.vue')
    }, {
        path: '/demo/login',
        component: resolve => import('../view/demo/oauth/oauth-login.vue')
    }, {
        path: '/sys/docker',
        meta: {tab: "docker"},
        component: resolve => import('../view/tools/docker.vue')
    }, {
        path: '/ops/k8s/external-service',
        component: resolve => import('../view/ops/external-service.vue')
    }, {
        path: '/dev/git-data/lib/list',
        meta: {tab: "git-lib 仓库"},
        props: {isLib: true},
        component: resolve => import('../view/dev/git-data/git-data-list.vue'),
        views: [
            {
                path: '/dev/git-data/lib/:action(add|edit|view)/:id?',
                meta: {tab: "git-lib 仓库"},
                props: $route => {
                    return {isLib: true, action: $route.params.action}
                },
                component: resolve => import('../view/dev/git-data/git-data-card.vue')
            }
        ]
    }, {
        path: '/sys/ascii',
        meta: {tab: "ascii"},
        component: resolve => import('../view/tools/ascii.vue')
    },{
        path: '/sys/array-js',
        meta: {tab: "集合Js操作"},
        component: resolve => import('../view/tools/array-js.vue')
    }, {
        path: '/sys/vue2-3',
        meta: {tab: "vue2升级3"},
        component: resolve => import('../view/tools/vue2-3.vue')
    }, {
        path: '/sys/json-class',
        meta: {tab: "json-class"},
        component: resolve => import('../view/tools/json-class.vue')
    }, {
        path: '/sys/query-json',
        meta: {tab: "query-json"},
        component: resolve => import('../view/tools/query-json.vue')
    }, {
        path: '/ops/export',
        meta: {tab: "导出"},
        component: resolve => import('../view/ops/exp-imp/export.vue')
    }, {
        path: '/ops/iam-app-ip',
        meta: {tab: "修正数据库IP"},
        component: resolve => import('../view/ops/exp-imp/fix-db-ip.vue')
    }, {
        path: '/tools/mybatis-sql',
        meta: {tab: "mybatis-sql"},
        component: resolve => import('../view/tools/mybatis-sql.vue')
    }, {
        path: '/tools/router3-test',
        meta: {tab: "router3-test"},
        component: resolve => import('../view/tools/router3-test.vue')
    }, {
        path: '/tools/router4-gen',
        meta: {tab: "router4-gen"},
        component: resolve => import('../view/tools/router4-gen.vue')
    }, {
        path: '/dev/db-tables/:id',
        meta: {tab: "数据库markdown"},
        props: true,
        component: resolve => import( '../view/dev/db-connection/db-tables.vue' )
    }, {
        path: '/dev/docker-manifest',
        meta: {tab: "docker-manifest"},
        component: resolve => import( '../view/tools/docker-manifest-json.vue' )
    }, {
        path: '/dev/linux-desktop',
        meta: {tab: "linux-desktop"},
        component: resolve => import( '../view/tools/linux-desktop.vue' )
    }, {
        path: '/dev/linux-service',
        meta: {tab: "linux-service"},
        component: resolve => import( '../view/tools/linux-service.vue' )
    }, {
        path: '/dev/exec-curl',
        meta: {tab: "exec-curl"},
        component: resolve => import( '../view/tools/exec-curl.vue' )
    }, {
        path: '/dev/mybatis-log-sql',
        meta: {tab: "提取Sql"},
        component: resolve => import( '../view/tools/mybatis-log-sql.vue' )
    }, {
        path: '/dev/tidy-sql',
        meta: {tab: "tidy-sql"},
        component: resolve => import( '../view/tools/tidy-sql.vue' )
    }, {
        path: '/log/trace-log/list',
        meta: {tab: "trace-log"},
        component: resolve => import( '../view/log/trace-log/trace-log-list.vue' )
    }, {
        path: '/sys/base64md5',
        meta: {tab: "base64md5"},
        component: resolve => import( '../view/tools/base64md5.vue' )
    }, {
        path: '/th',
        meta: {tab: "th"},
        component: resolve => import( '../view/tools/th.vue' )
    }, {
        path: '/time',
        meta: {tab: "时间转换"},
        component: resolve => import( '../view/tools/time.vue' )
    }, {
        path: '/app-base64',
        meta: {tab: "AppBase编码"},
        component: resolve => import( '../view/tools/base64.vue' )
    }, {
        path: '/ssh',
        meta: {tab: "ssh"},
        component: resolve => import( '../view/tools/ssh.vue' )
    }, {
        path: '/k8s-ssh/test-uat',
        meta: {tab: "K8S-SSH同步到UAT"},
        component: resolve => import( '../view/ops/k8s/k8s-ssh-sync-uat.vue')
    }, {
        path: '/k8s-ssh/test-prod',
        meta: {tab: "K8S-SSH同步到生产"},
        component: resolve => import( '../view/ops/k8s/k8s-ssh-sync-prod.vue')
    }, {
        path: '/dev/yaml-join',
        meta: {tab: "合并Yaml"},
        component: resolve => import( '../view/tools/yaml-join.vue')
    }, {
        path: '/dev/db-tables-diff',
        meta: {tab: "数据库差异"},
        component: resolve => import( '../view/dev/db-connection/db-diff.vue' )
    }, {
        path: '/mfa',
        meta: {tab: "多因子认证"},
        component: resolve => import( '../view/system/mfa/index.vue' )
    }, {
		path: '/mfa1',
		meta: {tab: "一次性多因子"},
		component: resolve => import( '../view/system/mfa1.vue' )
	}, {
        path: '/es/file-log/:requestId',
        props: true,
        meta: {tab: "日志追溯"},
        component: resolve => import( '../view/ops/es-tool/file-log.vue' )
    }, {
		path: '/es/file-log-list',
		props: true,
		meta: {tab: "App请求日志"},
		component: resolve => import( '../view/ops/es-tool/file-log-list.vue' )
	}, {
        path: '/es/file-log-item-list',
        props: true,
        meta: {tab: "App日志查询"},
        component: resolve => import( '../view/ops/es-tool/file-log-item-list.vue' )
    }
];


export default routes;
